<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
pageContext.setAttribute("ctx", request.getContextPath());
%>
<head runat="server">
    <title>Grape Manager Login</title>
    <link href="${ctx}/pages/style/alogin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" action="${ctx}/login" method="post">
    <div class="Main">
        <ul>
            <li class="top"></li>
            <li class="top2"></li>
            <li class="topA"></li>
            <li class="topB"><span>
                <img src="${ctx}/pages/images/login/logo.gif" alt="" style="" />
            </span></li>
            <li class="topC"></li>
            <li class="topD">
                <ul class="login" style="margin-top:30px; ">
                    <li><span class="left">User Name</span> <span style="left">
                        <input id="Text1" type="text" name="name" class="txt" />  
                     
                    </span></li>
                    <li><span class="left">Password</span> <span style="left">
                       <input id="Text2" type="password" name="psw" class="txt" />  
                    </span></li>
                </ul>
            </li>
            <li class="topE"></li>
            <li class="middle_A"></li>
            <li class="middle_B"></li>
            <li class="middle_C">
            <span class="btn">
                <img alt="" src="${ctx}/pages/images/login/btnlogin.gif" onclick="login()"/>
            </span>
            </li>
            <li class="middle_D"></li>
            <li class="bottom_A"></li>
            <li class="bottom_B">
            Grape Manager
            </li>
        </ul>
    </div>
    </form>
<script type="text/javascript" src="${ctx}/pages/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
	function login(){
		$("#form1").submit();
	}
</script>
</body>
